package com.android.equipment.dao;

import io.objectbox.annotation.Entity;
import io.objectbox.annotation.Id;

@Entity
public class Device {
    @Id
    private long id;
    private String deviceCode;
    private String deviceName;
    private long deviceModelId;
    private String createTime;
    private String updateTime;

    private boolean isDel;

    private boolean isOccupy; //是否占用
    private boolean isSelect;  //是否选中

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public long getDeviceModelId() {
        return deviceModelId;
    }

    public void setDeviceModelId(long deviceModelId) {
        this.deviceModelId = deviceModelId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public boolean isDel() {
        return isDel;
    }

    public void setDel(boolean del) {
        isDel = del;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    public boolean isOccupy() {
        return isOccupy;
    }

    public void setOccupy(boolean occupy) {
        isOccupy = occupy;
    }
}
